<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>管理员主页</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/pages/vendor/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/pages/vendor/font-awesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/pages/css/styles.css">
</head>
<body class="sidebar-fixed header-fixed">
<div class="page-wrapper">
    <nav class="navbar page-header">
        <a href="#" class="btn btn-link sidebar-mobile-toggle d-md-none mr-auto">
            <i class="fa fa-bars"></i>
        </a>

        <a class="navbar-brand" href="#">
            <img src="${pageContext.request.contextPath}/pages/imgs/logo.png" alt="logo">
        </a>

        <a href="#" class="btn btn-link sidebar-toggle d-md-down-none">
            <i class="fa fa-bars"></i>
        </a>

        <ul class="navbar-nav ml-auto">
            <li class="nav-item d-md-down-none">
                <a href="#">
                    <i class="fa fa-bell"></i>
                    <span class="badge badge-pill badge-danger">5</span>
                </a>
            </li>

            <li class="nav-item d-md-down-none">
                <a href="#">
                    <i class="fa fa-envelope-open"></i>
                    <span class="badge badge-pill badge-danger">5</span>
                </a>
            </li>

            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <img src="${pageContext.request.contextPath}/pages/imgs/avatar-1.png" class="avatar avatar-sm" alt="logo">
                    <span class="small ml-1 d-md-down-none">${sessionScope.SESSION_NAME.name}</span>
                </a>

                
            </li>
        </ul>
    </nav>

    <div class="main-container">
        <div class="sidebar">
            <nav class="sidebar-nav">
                <ul class="nav">
                    <li class="nav-title">导航</li>

                    <li class="nav-item">
                        <a href="${pageContext.request.contextPath}/pages/index_admin.jsp" class="nav-link active">
                            <i class="icon icon-speedometer"></i> 首页
                        </a>
                    </li>

                    <li class="nav-item nav-dropdown">
                        <a href="#" class="nav-link nav-dropdown-toggle">
                            <i class="icon icon-target"></i> 学生管理<i class="fa fa-caret-left"></i>
                        </a>

                        <ul class="nav-dropdown-items">
                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/insertStudent.jsp" class="nav-link">
                                    <i class="icon icon-target"></i> 添加学生</a>
                            </li>

                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/deleteStudent.jsp" class="nav-link">
                                    <i class="icon icon-target"></i> 删除学生
                                </a>
                            </li>

                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/updateStudent.jsp" class="nav-link">
                                    <i class="icon icon-target"></i> 修改学生信息
                                </a>
                            </li>

                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/findStudent.jsp" class="nav-link">
                                    <i class="icon icon-target"></i> 查询学生
                                </a>
                            </li>
                        </ul>
                    </li>

                    <li class="nav-item nav-dropdown">
                        <a href="#" class="nav-link nav-dropdown-toggle">
                            <i class="icon icon-energy"></i>宿舍管理<i class="fa fa-caret-left"></i>
                        </a>

                        <ul class="nav-dropdown-items">
                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/insertBuild.jsp" class="nav-link">
                                    <i class="icon icon-energy"></i>添加宿舍
                                </a>
                            </li>

                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/deleteDormitory.jsp" class="nav-link">
                                    <i class="icon icon-energy"></i>删除宿舍
                                </a>
                            </li>

                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/updateDormitory.jsp" class="nav-link">
                                    <i class="icon icon-energy"></i>更新宿舍
                                </a>
                            </li>

                            <li class="nav-item">
                                <a href="${pageContext.request.contextPath}/pages/findDormitory.jsp" class="nav-link">
                                    <i class="icon icon-energy"></i>查询宿舍
                                </a>
                            </li>
                        </ul>
                    </li>

                    <li class="nav-item nav-dropdown">
                        <a href="#" class="nav-link nav-dropdown-toggle">
                            <i class="icon icon-graph"></i>报修管理 <i class="fa fa-caret-left"></i>
                        </a>

                        <ul class="nav-dropdown-items">
                            <li class="nav-item">
                                <a href="<c:url value="/ManagementServlet?method=getRepairList"/>" class="nav-link">
                                    <i class="icon icon-graph"></i>报修申请
                                </a>
                            </li>
                        </ul>
                    </li>
					
					<li class="nav-item nav-dropdown">
                        <a href="#" class="nav-link nav-dropdown-toggle">
                            <i class="icon icon-graph"></i>报表管理 <i class="fa fa-caret-left"></i>
                        </a>

                        <ul class="nav-dropdown-items">
                            <li class="nav-item">
                                <a href="chartjs.html" class="nav-link">
                                    <i class="icon icon-graph"></i>学生报表
                                </a>
                            </li><li class="nav-item">
                                <a href="chartjs.html" class="nav-link">
                                    <i class="icon icon-graph"></i>宿舍报表
                                </a>
                            </li>
							<li class="nav-item">
                                <a href="chartjs.html" class="nav-link">
                                    <i class="icon icon-graph"></i>报修报表
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="nav-item">
                        <a href="<c:url value='/ManagementServlet?method=doLogout'/>" class="nav-link">
                            <i class="icon icon-puzzle"></i> 退出系统
                        </a>
                    </li>

                    
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>

		<div class="content">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body p-0">
                                <div class="row p-5">
                                    <div class="col-md-6">
                                        <h3>欢迎使用宿舍管理系统!</h3>
                                    </div>

                                    <div class="col-md-6 text-right">
                                       
                                        <p class="text-muted"></p>
                                    </div>
                                </div>

                                <hr class="my-5">

                                <div class="row pb-5 p-5">
                                    <div class="col-md-6">
                                        <p class="font-weight-bold mb-4"></p>
                                        <p class="mb-1"></p>
                                        <p></p>
                                        <p class="mb-1"></p>
                                        <p class="mb-1"></p>
                                    </div>

                                    <div class="col-md-6 text-right">
                                        <p class="font-weight-bold mb-4"></p>
                                        <p class="mb-1"><span class="text-muted">14:52</p>
										<p class="mb-1"><span class="text-muted">星期五</p>
                                        <p class="mb-1"><span class="text-muted">2019/2/8</span></p>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath}/pages/vendor/jquery/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/pages/vendor/popper.js/popper.min.js"></script>
<script src="${pageContext.request.contextPath}/pages/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/pages/vendor/chart.js/chart.min.js"></script>
<script src="${pageContext.request.contextPath}/pages/js/carbon.js"></script>
<script src="${pageContext.request.contextPath}/pages/js/demo.js"></script>
</body>
</html>
